package cn.faurecia.whinstock.service.impl;

import java.util.List;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.faurecia.dto.WhInStock;
import cn.faurecia.dto.WhItem;
import cn.faurecia.whinstock.dao.WhInStockMapper;
import cn.faurecia.whinstock.service.IwhInstockService;
import cn.faurecia.whitem.dao.WhItemMapper;
import cn.faurecia.whitem.service.IwhItemService;


@Service("whInstockService")
public class WhInstockServiceImpl implements IwhInstockService {

  @Autowired
  private WhInStockMapper instckoDao;

@Override
public WhInStock queryByItemCode(String itemCode) {
	return instckoDao.queryByItemCode(itemCode);
}

@Override
public int insert(WhInStock inStock) {
	return instckoDao.insert(inStock);
}
  
  
}
